﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.R.RabbitRoot.Domain.slaughter
{
    /// <summary>
    /// 屠宰信息
    /// </summary>
    public class SlaughterInfo
    {
        /// <summary>
        /// 屠宰信息Id
        /// </summary>

        [Key]
        public int SlaughterInfoId { get; set; }
        /// <summary>
        /// 溯源外键
        /// </summary>
        public int SourceInfoId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 到厂均重
        /// </summary>
        public int AverageWeightOnArrival { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime TimeOfArrival { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterTime { get; set; }
    }
}
